<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta name="viewport" id="viewport"
	content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="format-detection" content="telephone=no" />
<link href="/carworld_weixin/ssx/css/reset.css" rel="stylesheet" type="text/css">
<link href="/carworld_weixin/ssx/css/personal-center.css" rel="stylesheet" type="text/css">
<script src="/carworld_weixin/js/jquery-3.3.1.min.js"></script>
</head>
</head>
<body>
	<div class="near-box">
		<div class="index-bigbox" style="margin-top: 0px;">
			<!--头部开始-->
			<div class="personal-top">
				<img src="/carworld_weixin/ssx/images/599aa36d5e4a4.jpg" alt="" class="personal-img">
				<div class="personal-top-box1">
					<span class="personal-top-img1">
						<img src="" alt="" id="user-photo">
					</span>
					<div class="personal-top-box2">
						<span class="personal-top-text1" id="user-name"></span>
					</div>
				</div>
			</div>
			<!--头部结束-->
			<!--代付款分类开始-->
			<div class="personal-box1 mbt-05">
				<a href="/carworld_weixin/pages/page_userOrder/myOrder.html" class="personal-box2 box3">
					<span class="personal-box1-img1">
						<img src="/carworld_weixin/ssx/images/personal-center-img1.png" alt="">
					</span>
					<span class="personal-box1-text1">待付款</span>
				</a>
				<a href="javascript:alert('每日11:30,16:30,19:30开始配送发货~')" class="personal-box2 box3">
					<span class="personal-box1-img1">
						<img src="/carworld_weixin/ssx/images/personal-center-img2.png" alt="">
					</span>
					<span class="personal-box1-text1">待收货</span>
				</a>
				<a href="/carworld_weixin/pages/page_userOrder/paidOrder.html" class="personal-box2 box3">
					<span class="personal-box1-img1">
						<img src="/carworld_weixin/ssx/images/personal-center-img3.png" alt="">
					</span>
					<span class="personal-box1-text1">已完成</span>
				</a>
				<a href="javascript:alert('评价积分功能稍后上线哦~')" class="personal-box2 box3">
					<span class="personal-box1-img1">
						<img src="/carworld_weixin/ssx/images/personal-center-img4.png" alt="">
					</span>
					<span class="personal-box1-text1">待评价</span>
				</a>
				<a href="/carworld_weixin/pages/page_userOrder/myOrder.html" class="personal-box2 box3">
					<span class="personal-box1-img1">
						<img src="/carworld_weixin/ssx/images/personal-center-img5.png" alt="">
					</span>
					<span class="personal-box1-text1">全部订单</span>
				</a>
			</div>
			<!--代付款分类结束-->
			<!--功能分类开始-->
			<a href="./discount-coupon.html" class="personal-box5">
				<span class="personal-box5-img1">
					<img src="/carworld_weixin/ssx/images/personal-center-img10.png" alt="">
				</span>
				<span>我的优惠券</span>
			</a>
			<a href="/carworld_weixin/ssx/receiving-adress.html" class="personal-box5">
				<span class="personal-box5-img1">
					<img src="/carworld_weixin/ssx/images/personal-center-img11.png" alt="">
				</span>
				<span>收货地址</span>
			</a>
			<a href="/carworld_weixin/ssx/news-center.html" class="personal-box5">
				<span class="personal-box5-img1">
					<img src="/carworld_weixin/ssx/images/personal-center-img12.png" alt="">
				</span>
				<span>售后服务</span>
			</a>
			<!-- <span class="personal-box5-text2">退出登录</span> -->
		</div>
		<!--bigbox结束-->
		 <div class="kaola-bottom">
		<a href="/carworld_weixin/" class="kaola-bottom-box1">
			<span class="kaola-bottom-img1"><img src="/carworld_weixin/ssx/images/home.png"></span>
			<span class="kaola-bottom-text1 text2">首页</span>
		</a>
		<a href="http://food.3kkk.xyz/carworld_weixin/order/customerOrder?shopId=a760920e23624cbaa1898f5bdcb58c92" class="kaola-bottom-box1">
			<span class="kaola-bottom-img1"><img src="/carworld_weixin/ssx/images/search3.png"></span>
			<span class="kaola-bottom-text1">分类</span>
		</a>
		<a href="/carworld_weixin/pages/page_userOrder/myOrder.html" class="kaola-bottom-box1">
			<span class="kaola-bottom-img1"><img src="/carworld_weixin/ssx/images/shop-cart1.png"></span>
			<span class="kaola-bottom-text1">我的订单</span>
		</a>
		<a href="/carworld_weixin/user/userPage" class="kaola-bottom-box1">
			<span class="kaola-bottom-img1"><img src="/carworld_weixin/ssx/images/people1.png"></span>
			<span class="kaola-bottom-text1">我的</span>
		</a>
	</div>
	</div>
	<script>
		$(function() {
			$.ajax({
				type : 'GET',
				url : '/carworld_weixin/user/getUserInfo',
				dataType : 'json',
				contentType : 'application/json',
				success : function(data) {
					console.log(data);
					$('#user-name').text(data.user.user_nickname);
					$('#user-photo').attr("src", data.user.user_photo);
				}
			});

		});
	</script>
</body>
</html>